html {
    height: 100%;
}

.header-title {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    width: 100%;
    height: 4rem;
    border-bottom: 1px solid #cccccc;
    background: #ededed;
    color: #000000;
    text-align: center;
    font-size: 1.8rem;
    line-height: 4rem;
}

.chat-bg {
    position: relative;
    margin: 0 auto;
    padding-bottom: 5rem;
    /*height: 100%;*/
    background: #ededed;
}

.chat-bg .nickname {
    display: -webkit-box !important;
    float: left;
    overflow: hidden;
    width: 70%;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.chat-box {
    position: relative;
    overflow-y: hidden;
    height: 100%;
}

.chat-trip {
    position: relative;
    left: 3%;
    z-index: 2;
    display: block;
    display: block;
    width: 94%;
    height: 6%;
    border-radius: 8px;
    background-color: #F4F4F4;
    text-align: center;
    font-size: 1.3rem;
    line-height: 3.5rem;
}

.bubbleDiv {
    overflow: auto;
    margin: 0 auto;
    padding: 0 3%;
    width: 100%;
    padding-bottom: 5rem;
    height: 100%;
}

.bubbleItem {
    position: relative;
    width: 100%;
}

.leftBubble {
    position: relative;
    margin-left: 1rem;
    background-color: #ffffff;
}

.rightBubble {
    position: relative;
    float: right;
    margin-right: 5rem;
    background-color: #9bd348;
    color: #fff;
}

.bubble {
    display: inline-block;
    margin-top: 2rem;
    margin-left: 5rem;
    padding: 0.4rem 1rem;
    border-radius: 0.8rem;
    font-size: 1.4rem;
    line-height: 30px;
}

.leftBubble .topLevel {
    position: absolute;
    top: 1rem;
    left: -9px;
    border-bottom: 10px solid #EFF6F9;
    border-left: 10px solid transparent;
}

.rightBubble .topLevel {
    position: absolute;
    top: 1rem;
    right: -8px;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #9bd348;
}

.chat-time {
    margin-top: 1rem;
    color: #888;
    text-align: center;
    font-size: 1.3rem;
    line-height: 3rem;
}

.chat-edit {
    position: fixed;
    bottom: 0;
    box-sizing: border-box;
    box-sizing: border-box;
    padding: 0.5rem 6.4rem 0.6rem 0.5rem;
    width: 100%;
    border-top: 1px solid #cccccc;
    background: #ededed;
}

.chat-info {
    overflow-y: visible;
    padding: 0.6rem 0.4rem;
    width: 91%;
    border: 1px solid #eee;
    border-radius: 5px;
    background-color: #ffffff;
    color: #666;
    font-size: 1.6rem;
    resize: none;
}

.send-btn {
    position: absolute;
    right: 1rem;
    bottom: 0.6rem;
    margin-left: 3%;
    padding: 0.8rem 2rem;
    min-width: 4rem;
    border: 0;
    border-radius: 0.4rem;
    background: #9bd348;
    color: #fff;
    font-size: 1.5rem;
}

.uploadImg {
    position: relative;
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    z-index: 2;
    display: inline-block;
    width: 2.4rem;
    height: 2.4rem;
    background: url("../images/icon.png") no-repeat;
    background-position: 0 -95px;
    background-size: 2.4rem;
}

.uploadfile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;

}

.doctor-head {
    position: absolute;
    top: 2rem;
    box-sizing: border-box;
    width: 4rem;
    height: 4rem;
}

.doctor-head img {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    border: 1px solid #e5e5e5;
    border-radius: 2px;
}

.rightBubble img {
    position: absolute;
    top: -.1rem;
    right: -5rem;
    float: right;
    width: 4rem;
    height: 4rem;
    border-radius: 5px;
}

.chat-back {
    float: left;
    margin-top: 0.7rem;
    width: 25px;
    height: 25px;
}

.chat-item {
    float: right;
    margin-top: 1rem;
    margin-right: 1rem;
    width: 20px;
    height: 20px;

}

.private-message {
    float: left;
    font-size: 1.8rem;
}

html {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

* {
    margin: 0;
    padding: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
    display: block;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden],
template {
    display: none;
}

a {
    background-color: transparent;
}

a:active,
a:hover {
    outline: 0;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b,
strong {
    font-weight: bold;
}

dfn {
    font-style: italic;
}

h1 {
    margin: .67em 0;
    font-size: 2em;
}

mark {
    background: #ff0;
    color: #000;
}

small {
    font-size: 80%;
}

sub,
sup {
    position: relative;
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
}

sup {
    top: -.5em;
}

sub {
    bottom: -.25em;
}

img {
    border: 0;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 1em 40px;
}

hr {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
}

pre {
    overflow: auto;
}

code,
kbd,
pre,
samp {
    font-size: 1em;
    font-family: monospace, monospace;
}

button,
input,
optgroup,
select,
textarea {
    margin: 0;
    color: inherit;
    font: inherit;
}

button {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    cursor: pointer;
    -webkit-appearance: button;
}

button[disabled],
html input[disabled] {
    cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    padding: 0;
    border: 0;
}

input {
    line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

input[type="search"] {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    -webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

fieldset {
    margin: 0 2px;
    padding: .35em .625em .75em;
    border: 1px solid #c0c0c0;
}

legend {
    padding: 0;
    border: 0;
}

textarea {
    overflow: auto;
}

optgroup {
    font-weight: bold;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
}

td,
th {
    padding: 0;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    font-size: 10px;

    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    background-color: #fff;
    color: #333;
    font-size: 62.5%;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.42857143;
}

input,
button,
select,
textarea {
    font-size: inherit;
    font-family: inherit;
    line-height: inherit;
}

a {
    color: #337ab7;
    text-decoration: none;
}

a:hover,
a:focus {
    color: #23527c;
    text-decoration: underline;
}

a:focus {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

ul, li {
    list-style: none;
}

.clearfix:before,
.clearfix:after {
    display: table;
    content: " ";
}

.clearfix:after {
    clear: both;
}